﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CS544_Protocol_Client
{
    /**
    * Author: Kelly Page, Brian Driscoll
    * Date Created: 2/24/2011
    * Date Updated: 3/02/2011
    * 
    * Purpose: holds error information for chat client;
    * 
    **/
    public class Error
    {

        public int ErrorCode {get; private set;}
        public string ErrorMessage {get; private set;}
        public DateTime ErrorTimestamp { get; private set; }

        //Constructor
        public Error(int errorCode, string errorMessage)
        {
            this.ErrorCode = errorCode;
            this.ErrorMessage = errorMessage;
            this.ErrorTimestamp = DateTime.Now;
        }







    }
}
